<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JSON Voorhees: jsonv::parse_error Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" async src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classjsonv_1_1parse__error.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classjsonv_1_1parse__error-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">jsonv::parse_error Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>An error encountered when parsing.  
 <a href="classjsonv_1_1parse__error.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="parse_8hpp_source.html">jsonv/parse.hpp</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for jsonv::parse_error:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classjsonv_1_1parse__error.png" usemap="#jsonv::parse_5Ferror_map" alt=""/>
  <map id="jsonv::parse_5Ferror_map" name="jsonv::parse_5Ferror_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structjsonv_1_1parse__error_1_1problem.html">problem</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Description of a single parsing problem.  <a href="structjsonv_1_1parse__error_1_1problem.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a58a381cbb414a5c71b2f62bba24b082a"><td class="memItemLeft" align="right" valign="top"><a id="a58a381cbb414a5c71b2f62bba24b082a"></a>
typedef std::size_t&#160;</td><td class="memItemRight" valign="bottom"><b>size_type</b></td></tr>
<tr class="separator:a58a381cbb414a5c71b2f62bba24b082a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c1f05024f8981fdb7da5d19f953ac8b"><td class="memItemLeft" align="right" valign="top"><a id="a3c1f05024f8981fdb7da5d19f953ac8b"></a>
typedef std::deque&lt; <a class="el" href="structjsonv_1_1parse__error_1_1problem.html">problem</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>problem_list</b></td></tr>
<tr class="separator:a3c1f05024f8981fdb7da5d19f953ac8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acfa37fa3cccdfff7239f145e9f417c6a"><td class="memItemLeft" align="right" valign="top"><a id="acfa37fa3cccdfff7239f145e9f417c6a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>parse_error</b> (problem_list, <a class="el" href="classjsonv_1_1value.html">value</a> <a class="el" href="classjsonv_1_1parse__error.html#a46b87bb6c37e423e7eb5e83d23de6d6f">partial_result</a>)</td></tr>
<tr class="separator:acfa37fa3cccdfff7239f145e9f417c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eeea8a65a59b9bb9e248a69a15826fc"><td class="memItemLeft" align="right" valign="top">const problem_list &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1parse__error.html#a8eeea8a65a59b9bb9e248a69a15826fc">problems</a> () const</td></tr>
<tr class="memdesc:a8eeea8a65a59b9bb9e248a69a15826fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of problems which ultimately contributed to this <code><a class="el" href="classjsonv_1_1parse__error.html" title="An error encountered when parsing. ">parse_error</a></code>.  <a href="#a8eeea8a65a59b9bb9e248a69a15826fc">More...</a><br /></td></tr>
<tr class="separator:a8eeea8a65a59b9bb9e248a69a15826fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46b87bb6c37e423e7eb5e83d23de6d6f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1parse__error.html#a46b87bb6c37e423e7eb5e83d23de6d6f">partial_result</a> () const</td></tr>
<tr class="memdesc:a46b87bb6c37e423e7eb5e83d23de6d6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the partial result of parsing.  <a href="#a46b87bb6c37e423e7eb5e83d23de6d6f">More...</a><br /></td></tr>
<tr class="separator:a46b87bb6c37e423e7eb5e83d23de6d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An error encountered when parsing. </p>
<dl class="section see"><dt>See also</dt><dd>parse </dd></dl>

<p class="definition">Definition at line <a class="el" href="parse_8hpp_source.html#l00031">31</a> of file <a class="el" href="parse_8hpp_source.html">parse.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a46b87bb6c37e423e7eb5e83d23de6d6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46b87bb6c37e423e7eb5e83d23de6d6f">&#9670;&nbsp;</a></span>partial_result()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classjsonv_1_1value.html">value</a>&amp; jsonv::parse_error::partial_result </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the partial result of parsing. </p>
<p>There is no guarantee this value even resembles the input JSON as the input JSON was malformed. </p>

</div>
</div>
<a id="a8eeea8a65a59b9bb9e248a69a15826fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8eeea8a65a59b9bb9e248a69a15826fc">&#9670;&nbsp;</a></span>problems()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const problem_list&amp; jsonv::parse_error::problems </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The list of problems which ultimately contributed to this <code><a class="el" href="classjsonv_1_1parse__error.html" title="An error encountered when parsing. ">parse_error</a></code>. </p>
<p>There will always be at least one <code>problem</code> in this list. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>jsonv/<a class="el" href="parse_8hpp_source.html">parse.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>jsonv</b></li><li class="navelem"><a class="el" href="classjsonv_1_1parse__error.html">parse_error</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
